package com.tools.pojo.user.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.tools.common.model.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Schema(description = "用户角色关联表")
@TableName("user_role")
public class UserRole extends BaseEntity {

    // 用户ID
    @Schema(description = "用户ID")
    private Long userId;
    // 角色ID
    @Schema(description = "角色ID")
    private Long roleId;
    // 关联状态（0正常 1停用）
    @Schema(description = "关联状态（0正常 1停用）")
    private String status;
    // 关联备注
    @Schema(description = "关联备注")
    private String remark;

}
